package com.dxy.yesas2020goals.study.partone.disignpattern.explainpattern.calculate;


public class DivInterpreter extends Interpreter {

    public DivInterpreter(IArithmeticInterpreter left, IArithmeticInterpreter right, IArithmeticInterpreter left_kuohhhao, IArithmeticInterpreter right_kuohao){
        super(left,right,left_kuohhhao, right_kuohao);
    }

    public int interpret() {
        return this.left.interpret() / this.right.interpret();
    }

}
